package labmanager.business;

import java.util.ArrayList;
import org.apache.log4j.Logger;

public class LabManagerTypeReservation {
	
	private static Logger logger = Logger.getLogger(LabManagerUser.class);
	
	public ArrayList<String> listTypeReservation(String where) {
		ArrayList<String> al = new ArrayList<String>();
		try {
			labmanager.database.LabManagerTypeReservation labmanager = new labmanager.database.LabManagerTypeReservation();
			return labmanager.listTypeReservation(where);
		} catch (Exception e) {
			logger.debug("Se produjo un error en business/LabManagerTypeReservation al listar los tipos de reservas. " + e );
			al.add("99");
			al.add("Se ha producido un error.");
			return al;
		}
	}

}
